package com.app.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ym_scores")
@JsonInclude(JsonInclude.Include.NON_NULL)

public class ScoresModel {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;//用户id
    private Integer score;//分数
    private Integer operateType;//操作类型1举报(+)2立案受理(+)3核销(-)4清零
    private Integer afterScore;//变化后的积分

    private Timestamp crtTime;
    private Timestamp upTime;

    @TableField(exist = false)
    private String myScore;// 自己的
    @TableField(exist = false)
    private String userName;
    @TableField(exist = false)
    private String faceUrl;
    @TableField(exist = false)
    private String typeText;// 所属部门字段
    @TableField(exist = false)
    private Integer sort;
    @TableField(exist = false)
    private List<AttModel> videoText;// 字段
    @TableField(exist = false)
    private Integer count;
    @TableField(exist = false)
    private String crtTimeText;
    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private Integer limit;
    @TableField(exist = false)
    private String operateTypeText;

}
